Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed defmt on direct-boot mode #179

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Conversation

TheButlah
Copy link
Contributor

@TheButlah TheButlah commented Sep 5, 2022

Closes: #175

Ideally, I would also like to add this for the regular boot mode. I have not tested that yet.

Author is @9names, I merely submitted the PR.

*(.uninit .uninit.*);
. = ALIGN(4);
__euninit = .;
} > REGION_BSS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpicking but maybe we should define an alias in db-esp32c3-memory.x like it's done for other regions - doesn't change anything but would look more consistent

Copy link
Contributor Author

@TheButlah TheButlah Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merely reposted the original solution from @9names, I have no experience with linker scripts so I'm not sure how to do that 😅

Feel free to modify the PR though!

@bjoernQ
Copy link
Contributor

bjoernQ commented Sep 5, 2022

I'd be fine with merging this since it solves the original problem
Ideally all the linker scripts should be a bit more aligned but that is not just about this new section so definitely not the scope of this PR

@jessebraham fine with this?

@jessebraham
Copy link
Member

No complaints from me!

@jessebraham jessebraham merged commit c896e6c into esp-rs:main Sep 7, 2022
@TheButlah TheButlah deleted the defmt_fix branch September 7, 2022 08:20
@TheButlah TheButlah restored the defmt_fix branch September 7, 2022 08:20
@TheButlah TheButlah deleted the defmt_fix branch September 12, 2022 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lack of uninit section causes linking defmt to fail
4 participants